/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Float;

/**
 *
 * @author gamas
 */
public class shortValue {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Float w=45.3f;

        System.out.println("shot"+" "+w.shortValue());
        //convierte un objeto flotante a un valor short
    }

}
